package com.demo.sharelucas.record;

public record Circle(double radius) implements Shape {
    @Override
    public double area() {
        return  Math.PI * radius*radius;
    }
}
